home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Bank smakow
/
BankSmakow.air
/
BankSmakow.swf
/
scripts
/
_com_makingwaves_view_RecipeViewWatcherSetupUtil.as
< prev
next >
Wrap
Text File
|
2009-12-16
|
1KB
|
32 lines
package
{
import com.makingwaves.view.RecipeView;
import flash.display.Sprite;
import mx.binding.IWatcherSetupUtil;
import mx.binding.PropertyWatcher;
import mx.core.IFlexModuleFactory;
public class _com_makingwaves_view_RecipeViewWatcherSetupUtil extends Sprite implements IWatcherSetupUtil
{
public function _com_makingwaves_view_RecipeViewWatcherSetupUtil()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
RecipeView.watcherSetupUtil = new _com_makingwaves_view_RecipeViewWatcherSetupUtil();
}
public function setup(param1:Object, param2:Function, param3:Array, param4:Array) : void
{
param4[0] = new PropertyWatcher("recipeCanvas",{"propertyChange":true},[param3[0]],param2);
param4[1] = new PropertyWatcher("recipe",{"propertyChange":true},[param3[1]],param2);
param4[0].updateParent(param1);
param4[1].updateParent(param1);
}
}
}